.resizable{
    margin: 0;
}

.resizable:hover{
    cursor: move;
}

.handles {
    background-color: white;
    width: 7px;
    height: 7px;
    border: 1px solid dodgerblue;
    position: absolute;
    display: none;
}

.n-handle {
    top: -9px;
    left: calc(50% - 3.5px);
}

.ne-handle {
    top: -9px;
    right: -9px;
}

.nw-handle {
    top: -9px;
    left: -9px;
}

.w-handle {
    top: calc(50% - 3.5px);
    left: -9px;
}

.e-handle {
    top: calc(50% - 3.5px);
    right: -9px;
}

.s-handle {
    bottom: -9px;
    left: calc(50% - 3.5px);
}

.se-handle {
    bottom:-9px;
    right: -9px;
}

.sw-handle {
    bottom:-9px;
    left: -9px;
}



.n-handle:hover {
    cursor: n-resize;
}

.ne-handle:hover {
    cursor: ne-resize;
}

.nw-handle:hover {
    cursor: nw-resize;
}

.w-handle:hover {
    cursor: w-resize;
}

.e-handle:hover {
    cursor: e-resize;
}

.s-handle:hover {
    cursor: s-resize;
}

.se-handle:hover {
    cursor: se-resize;
}

.sw-handle:hover {
    cursor: sw-resize;
}

.single-resizer {
    position: absolute;
    border: 1px dashed rgba(99, 99, 99, 0.3);
    cursor: pointer;
    &::before{
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        right: 0;
        content: " ";
        z-index: 10;
        background-color: transparent;
    }
    &.selected{
        border: 1px solid #eb5648;
        cursor: move;
    }

    .square {
        position: absolute;
        width: 7px;
        height: 7px;
        background: white;
        border: 1px solid #eb5648;
        border-radius: 1px;
    }

    .resizable-handler {
        position: absolute;
        width: 14px;
        height: 14px;
        cursor: pointer;
        z-index: 1;

        &.tl,
        &.t,
        &.tr {
            top: -7px;
        }

        &.tl,
        &.l,
        &.bl {
            left: -7px;
        }

        &.bl,
        &.b,
        &.br {
            bottom: -7px;
        }

        &.br,
        &.r,
        &.tr {
            right: -7px;
        }

        &.l,
        &.r {
            margin-top: -7px;
        }

        &.t,
        &.b {
            margin-left: -7px;
        }
    }

    .rotate {
        position: absolute;
        left: 50%;
        top: -26px;
        width: 18px;
        height: 18px;
        margin-left: -9px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }

    .t,
    .tl,
    .tr {
        top: -3px;
    }

    .b,
    .bl,
    .br {
        bottom: -3px;
    }

    .r,
    .tr,
    .br {
        right: -3px;
    }

    .tl,
    .l,
    .bl {
        left: -3px;
    }

    .l,
    .r {
        top: 50%;
        margin-top: -3px;
    }

    .t,
    .b {
        left: 50%;
        margin-left: -3px;
    }
}